package spring;

import java.util.HashMap;

/**
 * @ProjectName: Spring
 * @Package: spring
 * @ClassName: AspectJAutoProxyRegistrar
 * @Author: zxh
 * @Description:
 * @Date: 2022/3/18 14:35
 * @Version: 1.0
 */
public class AspectJAutoProxyRegistrar implements ImportBeanDefinitionRegistrar{


    @Override
    public void registerBeanDefinitions(DefaultListableBeanFactory registry) {

        AopConfigUtils.registerAspectJAnnotationAutoProxyCreatorIfNecessary(registry);

    }
}
